<template>
    <div>
        <div class="header">
            <div class="header-left">
                <div class="iconfont icon-fanhui"></div>
            </div>
            <div class="header-input">
                <span class="iconfont icon-sousuo"></span>
                输入城市/景点/游玩主题
            </div>
            <div class="header-right">
                {{city}}
                <span class="iconfont icon-jiantou"></span>
            </div>
        </div>
    </div>
</template>
<script>

export default {
    name:'HomeHeader',
    props:{
        city: String
    }
}
</script>

<style lang="less" scoped>
@import '~styles/varibles.less';
    .header{
        display: flex;
        line-height: 0.86rem;
        background-color: @bgColor;
        color:#fff;
        .header-left{
            width: 0.64rem;
            text-align: center;
        }
        .header-input{
            flex: 1;
            margin-top: 0.12rem;
            background-color: #fff;
            border-radius: .1rem;
            height: 0.64rem;
            line-height: .64rem;
            margin-left: .2rem;
            color: #ccc;
            padding-left: .2rem;
        }
        .header-right{
            width: 1.24rem;
            text-align: center;
            .icon-jiantou{
                font-size: .24rem;
            }
        }
    }
</style>